//
// Created by pengtg on 2020/2/23.
//

#ifndef ANDROIDVIDEOPLAYER_GLVIDEOVIEW_H
#define ANDROIDVIDEOPLAYER_GLVIDEOVIEW_H


#include "XData.h"
#include "IVideoView.h"

class XTexture;

class GLVideoView:public IVideoView {
public:
    virtual void SetRender(void *win);
    virtual void Render(XData data);
    virtual void Close();
protected:
    void *view = 0;
    XTexture *txt = 0;
    std::mutex mux;
};


#endif //ANDROIDVIDEOPLAYER_GLVIDEOVIEW_H
